package designPattern.creationpattern.builder;

/**
 * @author wei.zhao
 * @description:
 * @date 2021年12月09日 23:36
 */
public class HighHouseBuilder extends AbstractHouseBuilder {

    @Override
    public AbstractHouseBuilder buildBase() {
        this.house.setBase("高层楼房地基");
        System.out.println("建设高层楼房地基");
        return this;
    }

    @Override
    public AbstractHouseBuilder buildWall() {
        this.house.setWall("高层楼房墙");
        System.out.println("建设高层楼房墙");
        return this;
    }

    @Override
    public AbstractHouseBuilder buildRoof() {
        this.house.setRoof("高层楼房楼顶");
        System.out.println("建设高层楼房楼顶");
        return this;
    }

}
